import Vue from 'vue'
import App from './App'
import router from './router'
import fastClick from 'fastclick'
import VueAwesomeSwiper from 'vue-awesome-swiper'
import store from './store/index.js'
import 'babel-polyfill'

// 解决点击延迟300ms问题
fastClick.attach(document.body)

import 'styles/reset.css'
// 1像素边框问题
import 'styles/border.css'
import 'styles/iconfont.css'
import 'swiper/dist/css/swiper.css'


Vue.config.productionTip = false

Vue.use(VueAwesomeSwiper)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  // 把store的实例从根组件注入所有的子组件
  store,
  render: h => h(App)
})
